<template>
  <div>
    <el-select v-bind="$attrs">
      <el-option
        v-for="item in options"
        :key="item.id"
        :label="item.nickname"
        :value="item.id"
      />
    </el-select>
  </div>
</template>
<script setup>
import { getRoleauthorize } from "@/api/manage/projectManagementes/user-authorization";
const options = ref([]);
getRoleauthorize().then(res => {
  options.value = res.result.data;
});
</script>
<style lang="scss" scoped></style>
